package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Admin;

import java.util.List;

public interface AdminService extends IService<Admin> {

    public List<Admin> findAdmin(String username) ;

    public IPage<Admin> querySelective(String username, Integer page, Integer limit);

    public List<Admin> all() ;
}
